package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 站务室对象 pub_buspool_station
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class PubBuspoolStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 是否固定 */
    @Excel(name = "是否固定")
    private Integer fixFlag;

    /** 使用性质 (国有/自有/租用) */
    @Excel(name = "使用性质 (国有/自有/租用)")
    private Long usageKind;

    /** 场站ID */
    @Excel(name = "场站ID")
    private String buspoolId;

    /** 所属公司ID */
    @Excel(name = "所属公司ID")
    private String companyId;

    /** 是否有水电 */
    @Excel(name = "是否有水电")
    private Integer waterElectricity;

    /** 是否有网络 */
    @Excel(name = "是否有网络")
    private Integer network;

    /** 占地面积 */
    @Excel(name = "占地面积")
    private Long spaceArea;

    /** 成立时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFixFlag(Integer fixFlag) 
    {
        this.fixFlag = fixFlag;
    }

    public Integer getFixFlag() 
    {
        return fixFlag;
    }
    public void setUsageKind(Long usageKind) 
    {
        this.usageKind = usageKind;
    }

    public Long getUsageKind() 
    {
        return usageKind;
    }
    public void setBuspoolId(String buspoolId) 
    {
        this.buspoolId = buspoolId;
    }

    public String getBuspoolId() 
    {
        return buspoolId;
    }
    public void setCompanyId(String companyId) 
    {
        this.companyId = companyId;
    }

    public String getCompanyId() 
    {
        return companyId;
    }
    public void setWaterElectricity(Integer waterElectricity) 
    {
        this.waterElectricity = waterElectricity;
    }

    public Integer getWaterElectricity() 
    {
        return waterElectricity;
    }
    public void setNetwork(Integer network) 
    {
        this.network = network;
    }

    public Integer getNetwork() 
    {
        return network;
    }
    public void setSpaceArea(Long spaceArea) 
    {
        this.spaceArea = spaceArea;
    }

    public Long getSpaceArea() 
    {
        return spaceArea;
    }
    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("fixFlag", getFixFlag())
            .append("usageKind", getUsageKind())
            .append("buspoolId", getBuspoolId())
            .append("companyId", getCompanyId())
            .append("waterElectricity", getWaterElectricity())
            .append("network", getNetwork())
            .append("spaceArea", getSpaceArea())
            .append("createdDate", getCreatedDate())
            .append("address", getAddress())
            .append("tel", getTel())
            .append("picture", getPicture())
            .append("memo", getMemo())
            .toString();
    }
}
